Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


dB Help

Lyme3Lyme3 Member Posts: 57
Hey everyone -
Working on a simple VB program, all it needs to do is write/read from 2 dbs. I had it working fine, but I realized both used the Default name of Data1. I needed to be able to reach them by code, and do stuff manually and I couldn't figure out how I could do that with them both named data1 (on different forms). So I changed the name on each one, then when through each instance of the code and changed it - it doesn't work now. Whats up? Any suggestions?



  • DroopyADroopyA Member Posts: 175
    You sure you renamed the correct instance of Data1 the correct new name?

    Form1.Data1 = dat1 (or whatever you renammed it as)
    Form2.Data1 = dat2 (or whatever you renammed it as)

    and that you didn't name Form1.Data1 dat2 in the code somewhere?

    Thats all I can think of without knowing exacly what's goin on. I'd have to know more info to figure it out if that's not the problem

    - N473

  • Chris BrownChris Brown USAMember Posts: 4,624 ✭✭

    _________ [ ] free video tutorials and ebooks about ( C++, JavaScript, Perl, Objective-C, Delphi, Visual Basic .NET, MATLAB, PL/SQL, Ruby, R, Visual Basic, Java, Go, PHP, Assembly, Python, Swift, C, C#, Scratch D, Lisp, Julia, Hack, Lua, LabVIEW, Transact-SQL, Clojure, Rust, Bash, SAS, Apex, Erlang, Kotlin, Prolog, Crystal, ABAP, FoxPro, Alice, Scheme, Awk, Logo, Dart, VBScript, Ada, ML, COBOL, Scala, Fortran, F# )

Sign In or Register to comment.