D
dave h
Hi,
Is it possible to use the CONCAT function in the following fashion?
----------------------------------------------
Dim myDB As Database
Dim myRSin As Recordset
Dim strTest As String
Set myDB = CurrentDb
Set myRSin = myDB.OpenRecordset("SELECT fld1, {fn concat(fld1, fld2)} as
testFld FROM table1")
With myRSin
Do While Not .EOF
strTest = !testFld
Debug.Print strTest
MoveToNextRow:
.MoveNext
endOfLoop:
Loop
End With
myDB.Close
-----------------------------------------
Access reponds with a "mal formed GUID" error
My goal is to set myCbo.RowSource to an SQL string that concatenates 4
numeric fields into a string like "1.2.3.4". Is this possible to do
directly without an approach like creating an temporary table? What is the
best way to handle this problem?
Thanks, Dave H.
Is it possible to use the CONCAT function in the following fashion?
----------------------------------------------
Dim myDB As Database
Dim myRSin As Recordset
Dim strTest As String
Set myDB = CurrentDb
Set myRSin = myDB.OpenRecordset("SELECT fld1, {fn concat(fld1, fld2)} as
testFld FROM table1")
With myRSin
Do While Not .EOF
strTest = !testFld
Debug.Print strTest
MoveToNextRow:
.MoveNext
endOfLoop:
Loop
End With
myDB.Close
-----------------------------------------
Access reponds with a "mal formed GUID" error
My goal is to set myCbo.RowSource to an SQL string that concatenates 4
numeric fields into a string like "1.2.3.4". Is this possible to do
directly without an approach like creating an temporary table? What is the
best way to handle this problem?
Thanks, Dave H.