|
-
Nov 29th, 2000, 11:55 AM
#1
Thread Starter
Junior Member
I'm going through some code from an inhouse app that my company is running because I need to understand how it works. I understand the following section of code except for the exclamation points. Does anybody know what their purpose is?
'Take the label name, append label type and look for label
str3rdName = Trim(!Label_Type & frm3rdParty.txt3rdlblName & ".QDF")
str3rdPartyFile = Trim(str3rdParty_FilePath & str3rdName)
'Locate the 3rd Party Label in appropriate path
If fso.FileExists(str3rdPartyFile) Then
frmPrinting.Show
frmPrinting.Refresh
'Set the Baytech Port / Com Port and Delay
strPortNo = !Printer_Port
strProd_line = !Production_Line
strPort_Name = !Port_Name
Set_Printer_Port
-
Nov 29th, 2000, 11:58 AM
#2
Frenzied Member
I think it has something to do with 'collections' or something, I never use(d) them yet, hope I may use them soon, they look cool
Jop - validweb.nl
Alcohol doesn't solve any problems, but then again, neither does milk.
-
Nov 29th, 2000, 12:03 PM
#3
Fanatic Member
! indicates a field within a collection as opposed to the . which indicates a method.
Confusingly, you can't use ! in SQL to indicate fields of a table you have to use . ???
Cheers,
P.
Not nearly so tired now...
Haven't been around much so be gentle...
-
Nov 29th, 2000, 12:18 PM
#4
_______
<?>
they are also used as shortcuts in referencing a field within a recordset
With Rs
.movenext
!myfield = text1
.close
end with
"A myth is not the succession of individual images,
but an integerated meaningful entity,
reflecting a distinct aspect of the real world."
___ Adolf Jensen
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|