Link to home
Start Free TrialLog in
Avatar of Jegajothy vythilingam
Jegajothy vythilingamFlag for United States of America

asked on

Access 2013 - sample array code

My OS is win 7 prof 64 bit and I use Office 365.  i created a simple array in Access 2013, to see if it works, but I get the error "object does not support ..."  Hope the experts can point out where I went wrong from the attached code.  Thank u.
samplearraycode.txt
Avatar of Joe Howard
Joe Howard
Flag of United States of America image

Change
Print aintRandomNum(intX)
To
Debug.Print aintRandomNum(intX)
Avatar of Rgonzo1971
Rgonzo1971

Hi,

shouldnt'be

Debug.Print


Regards
All you need is:

Debug.Print aintRandomNum(intX)

/gustav
Or use

Msgbox aintRandonNum(intX)
ASKER CERTIFIED SOLUTION
Avatar of Joe Howard
Joe Howard
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Jegajothy vythilingam

ASKER

MacroShadow's code works, thank u.
thank u for the solution. gracias
De nada :-)