I've looked and really don't see anything that addresses what I want to do.
I was a long time Ecco user but left it a few years ago and have tried everything to replace it, but have found nothing yet. I want to give IQ a shot.
I've played with it for a few weeks and I'm getting a decent idea of how to work with it, I've borrowed from other's templates and I'm really about to create 'my database' that will work for me. But I need to load some data in to get started.
I want to start with my contact database. My goal is to create a grid that will list contacts with item being lastname, firstname but the csv to import from has them both in separate field. Is it possible on the import to have it fill item with lastname without editing my underlying CSV?
thanks
Jason
Comments
Function fullnameToItem(contact, fullname, item)
If contact = -1 Then
fullnameToItem = fullname
Else
fullnameToItem = item
End If
End Function
Function clearItem(contact, item)
If contact = -1 Then
clearitem = ""
Else
clearitem = item
End If
End Function
AM:item=fullnameToItem(contact, fullname, item) |
E: item=clearItem(contact, item)
=FirstName & " " & LastName
It would be a good idea, I think, to add it to the default file.
It's (superficially anyway) like the way dynamic file links work: FileFullName = FilePath + FileName
But that is done via Field>>Options:
<SOURCE>SELECT ¯qFileRef.ItemID, [FilePath] & [FileName] AS FileFullName FROM (¯qFileRef LEFT JOIN ¯qFilePath ON ¯qFileRef.ItemID = ¯qFilePath.ItemID) LEFT JOIN ¯qFileName ON ¯qFileRef.ItemID = ¯qFileName.ItemID;</SOURCE>
It would be a good idea, I think, to add it to the default file.
It's (superficially anyway) like the way dynamic file links work: FileFullName = FilePath + FileName
But that is done via Field>>Options:
<SOURCE>SELECT ¯qFileRef.ItemID, [FilePath] & [FileName] AS FileFullName FROM (¯qFileRef LEFT JOIN ¯qFilePath ON ¯qFileRef.ItemID = ¯qFilePath.ItemID) LEFT JOIN ¯qFileName ON ¯qFileRef.ItemID = ¯qFileName.ItemID;</SOURCE>