Recent content by Nenya

  1. N

    Picture with condition

    I want to insert a picture that is visible only when a certain textbox is not empty. I tried using vb, but somehow, i can't use the property visible of the image, or the property text of the textbox. I don't know what's wrong... anyone can figure this out?:(
  2. N

    2 fields from the same table

    I have one table containing locations, and one table containing activities. Each activity has a location (as part of a composed primary key) and might have a subscription location. The activity table contains only the ids of locations, and i'm using a query to get both names. I don't know how...
  3. N

    Concatenation

    It looks like shuting down access and reopen my database fixed the problem. Thx anyway!
  4. N

    Concatenation

    I tried this... but it doesn't work. I get an error instead!
  5. N

    Concatenation

    I have a report with 2 fields (coming from a query). One field is a name, and the other is an id number. I want something like this : name (idnumber) Is there a simple way (meaning, no coding or no invisible fields) to do this? I looked at the string functions, but i don't know which one i...
  6. N

    Adding record to a table

    Yay! it works! Thx a lot :rolleyes:
  7. N

    Adding record to a table

    I need a way to create new records in a table using code. Anyone can tell me how? Is using ms jet with recordsets the only way? (i don't have it:( )
  8. N

    Accessing a module

    The module name is : ClasseCreation The error message is : "Undefined Sub or Function" Error occurs while running the button code. Edit: i found out what was wrong...I apparently use the wrong module type (have no idea how that happened). :o It working now. Thanx for the help anyway
  9. N

    Accessing a module

    Me too:eek: Public Sub ActAPrec(ByVal noBloc As String, ByVal noAct As String, ByVal defAct As String, ByVal lstAct As String, ByVal existante As Boolean) Let BLOC = noBloc If existante = True Then Let ACT.No = lstAct Let ACT.Description = "empty" Else Let...
  10. N

    Accessing a module

    This is my public function prototype : Public Sub ActAPrec(ByVal noBloc As String, ByVal noAct As String, ByVal defAct As String, ByVal lstAct As String, ByVal existante As Boolean) :( Also, when i call the public sub from the button sub, the caps are changed properly... When i tried to run...
  11. N

    Accessing a module

    There is my function: Private Sub SuivantActAPrec_Click() Call ActAPrec("hey1", "haha2", "hehe3", "hoho4", False) DoCmd.OpenForm "FrmPrecAct" If CadreActivite.Value = 2 Then Form_FrmPrecAct.ModPrecAct.Visible = False Form_FrmPrecAct.Option3.Visible = False...
  12. N

    Accessing a module

    Hmm, i tried that before posting... My sub is not recognized... (and i checked for spelling also)
  13. N

    Accessing a module

    Hello I have a public sub in a module. I want to access this sub from a button on a form. When i click on the button, it calls a sub (from the event). This sub should be able to call the public sub from the other module, but i can't manage to do it. Thx to anyone who can help:)
  14. N

    VB Functions

    Thx for the help!!!! It's working now!!! I used the text property tho:rolleyes:
  15. N

    VB Functions

    Still not working :( The "me" is not accepted. I think it works only within vb code. I can do functions that works fine as long as i have less than two parameters. If i have 2, access is unhappy (so i am). Any ideas? oh... and... uh?
Back
Top Bottom