Re: Problem with Get
- From: atlinc@xxxxxxxxxxx
- Date: 3 Jan 2006 18:16:40 -0800
Wow! It's amazing what an impartial observer with a fresh pair of eyes
can come up with! I've been fussing with this problem for three days
and never noticed I had used the wrong variable in the Get statement.
Of course it now works perfectly! Thank you very much.
Thanks, too, for the added suggestions. I started out using FreeFile
and for some reason switched to hard coded file numbers - I think I'll
switch back. It's elsewhere in the code, but when the app starts I do
check for the existence of the data file and to calculate the number of
records it contains. I can see the wisdom of perhaps checking the data
file before each read and write in case the user deleted or moved the
file while the app was running.
Is there some advantage to specifying the type of random access in the
Open statement instead of just For Random As?
Also one last question - in my initial post I asked if it causes
problems using VB reserved words as variable names in UDTs, such as
CurInv.Date rather than CurInv.MyDate, so can that cause problems?
Thanks again for all your help!
Tony
.
- Follow-Ups:
- Re: Problem with Get
- From: Randy Birch
- Re: Problem with Get
- References:
- Problem with Get
- From: atlinc
- Re: Problem with Get
- From: Randy Birch
- Re: Problem with Get
- From: atlinc
- Re: Problem with Get
- From: Randy Birch
- Problem with Get
- Prev by Date: Re: Can a vb app run as a service?
- Next by Date: Re: Problem with Get
- Previous by thread: Re: Problem with Get
- Next by thread: Re: Problem with Get
- Index(es):
Relevant Pages
|